The online racing simulator
Searching in All forums
(113 results)
G. Dierckx
S2 licensed
can't access 500control.co.uk as well...
G. Dierckx
S2 licensed
thanks again dean!
G. Dierckx
S2 licensed
thanks dean!
G. Dierckx
S2 licensed
ReportedDown since: 7th June 2011, 00:56

Thats 68 hours ago.. Shouldn't it be fixed by now?
G. Dierckx
S2 licensed
Quote from franky500 :Hi all. Sorry about the CP. Looking into it now.
....

I still receive the message "An error has occurred. Contact an administrator. If you are an administrator please contact TCADMIN SUPPORT."

Could you please fix this ASAP?
G. Dierckx
S2 licensed
Quote from dekojester :The dreaded...



Currently appearing for me at least on trying to view game servers in TCAdmin

Same...
G. Dierckx
S2 licensed
err could it be that the custom insim thingy, doesn't support "unsigned" libraries?
update: never mind, chrome didn't show the error "extention common.dll not allowed"...
Last edited by G. Dierckx, .
Windows Server 2008 R2 Lfs Unlocks..
G. Dierckx
S2 licensed
Hi,

I just installed Windows server 2008 R2 as a workstation (for Hyper-V). However since this is my "home" pc, I also have lfs installed on it. Yesterday I unlocked lfs and played a little but today lfs is locked again for some weird reason... And since I can only use 2 unlocks a week this is a bit of an issue...

Anyone got a solution?

Regards,
Glenn
LFS crash (with info)
G. Dierckx
S2 licensed
Lfs just crashed while racing (doing nothing special):

Probleemhandtekening:
Gebeurtenisnaam van probleem: APPCRASH
Naam van de toepassing: LFS.exe
Versie van toepassing: 0.0.0.0
Tijdstempel van toepassing: 4b0bf605
Naam van foutmodule: ntdll.dll
Versie van foutmodule: 6.1.7600.16385
Tijdstempel van foutmodule: 4a5bdb3b
Uitzonderingscode: c0000005
Uitzonderingsmarge: 0002e23e
Versie van besturingssysteem: 6.1.7600.2.0.0.256.48
Landinstelling-id: 2067
Aanvullende informatie 1: 4709
Aanvullende informatie 2: 4709938665fa84e3ff99c8cbe11223bb
Aanvullende informatie 3: f4a1
Aanvullende informatie 4: f4a136babfc7f1a68f95d1c3d7e165fe
G. Dierckx
S2 licensed
Yeah it's a little out-dated... Will have to make a new one some day will publish it on the forums then so you can check it out
G. Dierckx
S2 licensed
Sorry for the spam... Found a good tool "Rad Software Regular Expressions" wich helped me solving it:

Regex test = new Regex(@"// (?<description>[^\r\n]+)\r\n/(?<disabled>[/]?)(?<name>\w+)=(?<value>[^\r\n]+)");

Did the trick
Help with .NET Regular expressions...
G. Dierckx
S2 licensed
Hey,

What I am making:
A c# dedicated host config editor

What I did and wich worked, is splitting my content on \n and just read every line and if it started with / and contained = then I read it out and print it on a form.

You could wonder, why not making a static form? Well that's easy... this method will automaticly "read" new config parameters if another one gets added...

However, to get to the point, I was trying to get rid of my noobish may of reading those configs and tried regular expressions... However it's not working right...

Since each "config" block matches this pattern:


Example:
// optional: local specified ip address
/ip=95.211.128.30

Pattern:
// *description*
/*name*=*value*

My code:

Regex test = new Regex(@"\n// (?<description>\w+)\n/(?<name>\w+)=(?<value>\w+)");
MatchCollection coll = test.Matches(content);
foreach (Match match in coll)
{
Label lbl = new Label();
lbl.Text = match.Groups["name"].Value + "<br>";
lbl.Text += match.Groups["description"].Value + "<br>";
lbl.Text += match.Groups["value"].Value + "<br>";
customConfigurator.Controls.Add(lbl);
}

Tho it doesn't seem to find anything... anyone knows what it might be?
G. Dierckx
S2 licensed
is it possible configs for lfs can't be saved as UTF-8? Now lfs says all time that config is invalid... (While it's exactly the same as another one...)
Charsets once again...
G. Dierckx
S2 licensed
Hi,

I'm always having this issue and never got solved it... Everyone says it easy but can someone give me a clear solution... Without "google is your friend" cause I googled for it like months without any results...

So: I'm trying to read with ASP.NET an lfs config file. But where there are "special" chars in the hostname it displays -> instead of •

I tried to add:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

But offcourse doesn't help... Does anyone know how to fix this once and for all?
G. Dierckx
S2 licensed
Quote from kimiboy054 :helo, I have a little problem! After I start it the LFS host does not find it on the list of the games nobody! What may be his reason?

If you are using a server-control-panel:
- Try check if you are having a valid configuration
- Check the ip (if it's correct)
- Check if you don't have already used ports assigned to insim / game port
- Perhaps a firewall...

Running it local:
- Check port forwarding on your router
- Check firewall
G. Dierckx
S2 licensed
ps: I also found something (wich isn't totally related to the problem) but the "bullet" in lfs..

I retrieve from hostprogress
unicode 0095 -> http://www.fileformat.info/info/unicode/char/0095/index.htm

While a "real" bullet should be: 2022 -> http://www.fileformat.info/info/unicode/char/2022/index.htm
G. Dierckx
S2 licensed
Quote from amp88 :The backslash in "\u0095" is a special character. Since it's a special character it needs to be "escaped" with another backslash. The extra backslash (the escape character) basically says to your PC "look out, here comes a special character". Try using .Replace("\\", "\") and see if that helps. Also, you should probably be using ReplaceAll rather than just Replace in case there are multiple special characters.

.Replace("\\", "\") doesn't work, it would just escape the " character...

Quote from DarkTimes :Just wondering if setting the encoding on the WebRequest stream would help, something like this. Bare in mind I've not tried this, just a random thought.

string url = "http://www.lfs.net/etc/";

HttpWebRequest request = null;
HttpWebResponse response = null;
StreamReader reader = null;
try
{
request = (HttpWebRequest)WebRequest.Create(url);
response = (HttpWebResponse)request.GetResponse();

// Create reader with specific encoding.
reader = new StreamReader(response.GetResponseStream(), Encoding.GetEncoding("utf-8"));

// Read stream.
string data = reader.ReadToEnd();
}
catch (Exception ex)
{
// Error.
}
finally
{
if (reader != null) reader.Close();
if (response != null) response.Close();
}


Tried, still the same result:
"{\"hostinfo\":{\"host\":\"^6WS^7.^4R^7 \\u0095 Training\",\...

G. Dierckx
S2 licensed
Hey,

I've been pretty retarded, it seems to be that:


WebClient test = new WebClient();
byte[] data = test.DownloadData("http://www.lfsworld.net/pubstat/hostprogress.php?host=" + webname);
string tests = Encoding.GetEncoding("ISO-8859-1").GetString(data);

Just reads the special character as "\\u0095".. instead of "\u0095"..

So I took the easy and lame solution since I still havent found how to convert unicode to ... whatever c# forms use...

.Replace("\\u0095", "•")

Tho gona take a look on your converter class victor, perhaps that can help me out a bit more

Ps: Here is the result now:
Last edited by G. Dierckx, .
G. Dierckx
S2 licensed
I know that putting header etc on a website sometimes fixes it...

But maybe I'm just retarded or whatever, but I still don't know how to fix it in my program...

Tried:
[SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]
Encoding[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] targetEncoding;
[/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]byte[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][] encodedChars;
[/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Gets the encoding for the specified code page.
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]targetEncoding = [/SIZE][SIZE=2][COLOR=#2b91af][SIZE=2][COLOR=#2b91af]Encoding[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2].GetEncoding([/SIZE][SIZE=2][COLOR=#a31515][SIZE=2][COLOR=#a31515]"utf-32"[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]);[/SIZE]
[SIZE=2]
[/SIZE][SIZE=2][COLOR=#008000][SIZE=2][COLOR=#008000]// Gets the byte representation of the specified string.
[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]encodedChars = targetEncoding.GetBytes(strings[1]);[/SIZE][SIZE=2]
[/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]string[/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2] test = targetEncoding.GetString(encodedChars);
[/SIZE]

and i still get the same result...
Encoding problem?
G. Dierckx
S2 licensed
Hi,

I have since I started programming always had one issue, wich is encoding of text...

Now once again I have the same problem with JSON.

I'm using the lfs hostprogress json data sheet (http://www.lfsworld.net/pubsta ... S.C+%95+Aston+Cruise+%231 ) to use real-time serverinfo in a .net program.

Tho I have one big issue, wich is that when I read the hostname, I can't get the "special" characters to work.

Json:
{"hostinfo":{"host":"^6WS^7.^3C^7 \u0095 Aston Cruise #1","host_parsed":"<font color=\"#00FFFF\">WS<\/font><font color=\"#FFFFFF\">.<\/font><font color=\"#FFFF00\">C<\/font><font color=\"#FFFFFF\"> • Aston Cruise #1<\/font>","host_stripped":"WS.C \u0095 Aston Cruise....

The "\u0095" should be a •

So well all that is clear to me. But then I want to use JSON.NET to read data from the json file:

JObject Jhostprogress = JObject.Parse(strings[1]); // strings is received with WebRequest & WebResponse
JObject Jhostinfo = (JObject)Jhostprogress["hostinfo"];
string hostname = (string)Jhostinfo["host"];

so now I would think hostname should work perfectly... But it doesn't it now just has a space on where the • should be.

Another thing i found is that
string testBull = "•";

isn't the same result as
string testBull = "\u0095";

So is there anyone who can help me fixing this silly issue..
G. Dierckx
S2 licensed
I'm having the same issue on Windows Server 2008 Enterprise... Tho the folder was indeed read only...
G. Dierckx
S2 licensed
Update: Seems to be this problem only accurs when using RB4... So whats the "source" of the problem than?
LFS on drugs
G. Dierckx
S2 licensed
Hey, lfs was just running fine, was drifting a bith with the fz5 after i pitted and switched to rb4 I had no world in cockpit view and this happened when taking the view behind the car...

Already restarted lfs still the same problem... Tho I don't think installing netbeans has anything todo with it?
G. Dierckx
S2 licensed
Quote from hazaky :Click Me!

...

Thats the thing read the second line, I don't know how to make something like that and I don't know how the technique to overlay stuff in games is named so I wouldn't know what to search after....
G. Dierckx
S2 licensed
Quote from Ales_M :Hehe mate trust me its hard to accept u the way u are..

Sorry Vinny but can't agree with Alex_M more..
FGED GREDG RDFGDR GSFDG